package com.yanfan.ccapicode.dao;


import com.yanfan.ccapicode.dao.base.iservice.IBaseRepository;
import com.yanfan.ccapicode.dao.entity.CustomMappingDO;

import java.util.List;

/**
 * :)
 *
 */
public interface CustomMappingRepository extends IBaseRepository<CustomMappingDO> {

    CustomMappingDO selectByProductThirdCode(String productId, String thirdCode);
    /**
     * 查询自定义映射模板
     *
     * @param id 自定义映射模板主键
     * @return 自定义映射模板
     */
    public CustomMappingDO selectCcapiCustomMappingById(Long id);

    /**
     * 查询自定义映射模板列表
     *
     * @param ccapiCustomMapping 自定义映射模板
     * @return 自定义映射模板集合
     */
    public List<CustomMappingDO> selectCcapiCustomMappingList(CustomMappingDO ccapiCustomMapping);


}
